.scroll-container {
    height: 300px; /* 设置容器高度 */
    overflow: hidden;
    position: relative;
  }
  
  .scroll-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }
  
  .scroll-item {
    padding: 10px;
    border-bottom: 1px solid #ccc;
  }